package com.yangff.entity.product.entity.productentity;

import com.yangff.entity.product.entity.Financialproduct;
import com.yangff.utils.MathUtil;

//定投
public class FixedInvestmentEntity extends Financialproduct {
    public FixedInvestmentEntity() {
        super();
        this.type = "定投型";
        this.mu = MathUtil.getRandomNumberInDoubleRange(0.005,0.02);
        this.sigma = MathUtil.getRandomNumberInDoubleRange(0.0001,0.0005);
        this.riskLevel = MathUtil.getRiskLevel(sigma , 0.0001 , 0.0005);
    }
}
